package com.share.device.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.share.device.domain.CabinetSlot;

/**
 * 柜机插槽Mapper
 * 
 * @author LiYang
 * @date 2025-06-25
 */
public interface CabinetSlotMapper  extends BaseMapper<CabinetSlot>
{
    /**
     * 查询柜机插槽
     * 
     * @param id 柜机插槽主键
     * @return 柜机插槽
     */
    public CabinetSlot selectCabinetSlotById(Long id);

    /**
     * 查询柜机插槽列表
     * 
     * @param cabinetSlot 柜机插槽
     * @return 柜机插槽集合
     */
    public List<CabinetSlot> selectCabinetSlotList(CabinetSlot cabinetSlot);

    /**
     * 新增柜机插槽
     * 
     * @param cabinetSlot 柜机插槽
     * @return 结果
     */
    public int insertCabinetSlot(CabinetSlot cabinetSlot);

    /**
     * 修改柜机插槽
     * 
     * @param cabinetSlot 柜机插槽
     * @return 结果
     */
    public int updateCabinetSlot(CabinetSlot cabinetSlot);

    /**
     * 删除柜机插槽
     * 
     * @param id 柜机插槽主键
     * @return 结果
     */
    public int deleteCabinetSlotById(Long id);

    /**
     * 批量删除柜机插槽
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCabinetSlotByIds(Long[] ids);
}
